﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="add-resources.ascx.cs" Inherits="templates_admin_usercontrols_add_resources" %>
<script type="text/javascript"> 
    function Upload()
    {
        document.getElementById('<%= fuTaiNguyen.ClientID  %>').click();
    }  
    function Change()
    {
        document.getElementById("field-up_fake").value = document.getElementById('<%= fuTaiNguyen.ClientID  %>').value;
    }
</script>
<!-- new box --> 

<div class="box corners shadow">
    <div class="box-header">
        
        <h2>
            <img src="../templates/admin/images/address-book-new.png" style="width:40px; height:40px; margin-top:-10px; position:absolute;" />
            <asp:Label ID="lbTitle" runat="server" Text="Đăng tài nguyên" style="margin-left:40px"></asp:Label>
        </h2>
        <div class="box-header-ctrls">	
        	<a href="javascript:void(null);" title="" class="close"><!-- --></a>
        </div>

    </div>
    
    <div class="box-content" id="settings-1">
        <div class="inbox-sf">                                   
             <asp:DropDownList ID="DropDownList1" runat="server" CssClass="select-1" style="width:230px">
                <asp:ListItem>-- Chọn chuyên mục --</asp:ListItem>
                <asp:ListItem>Giới thiệu</asp:ListItem>
            </asp:DropDownList>
                                               
            <div class="fileinputs" style="margin-bottom:20px;">
                <asp:FileUpload ID="fuTaiNguyen" onchange="Change();" CssClass="file"  runat="server" title="Upload" name="imgfile" style="opacity: 0; background:#fff"/>
                <div class="fakefile">
                    <input id="field-up_fake" type="text" value="">                                                                                               
                    <asp:Button ID="btnTaiLen" CssClass="button_button" OnClientClick="Upload();"  runat="server" Text="Chọn..." />                                                
                </div>                                                                              
            </div>
            <div class="form-upload-msg-1" style="margin-top:40px; margin-left:-300px">Max size 20Mb</div>            
            <div class="pages-admod-box-2" style="border:none; height:30px; padding-top:0px; margin-left:-63px"><asp:TextBox runat="server" ID="dpkNgayVietVn" class="datepicker2" />  </div>                                                        
        </div>
        <div class="tabs-wrapper-hori">
            <!-- the tabs/links -->
            <ul class="tabs-ctrls-hori">
                <li><a href="#tabs-1">Tiếng Việt</a></li>
                <li><a href="#tabs-2">Tiếng Anh</a></li>
                

                <li class="help"><a href="#tabs-4">?</a></li>
            </ul>
            <!-- tab 1 -->
            <div id="tabs-1" class="tab-1">
               <div class="box-content" id="pages-2" style="border-top:none; margin-left:-20px">                                       
                    <div class="pages-editor-2" style="width:676px">
                        <textarea id="editor2"></textarea>	
                    </div>
                    <div class="pages-admod-box-2"> 
                        <label for="tags"><b>Tiêu đề</b></label>
                        <asp:TextBox ID="txtTieuDeVn" runat="server" CssClass="input-1"></asp:TextBox> 
                                                                                              
                        <label for="tags">Từ khóa</label>
                        <asp:TextBox ID="txtTuKhoaVn" runat="server" CssClass="input-1"></asp:TextBox>                                               
                    </div>            
                </div>                                                                                                                                                                         
            </div> 
            <!-- tab 2 -->
            
            <div id="tabs-2" class="tab-1">
                <div class="box-content" id="pages-2" style="border-top:none; margin-left:-20px">                                       
                    <div class="pages-editor-2" style="width:676px">
                        <textarea id="editor3"></textarea>	
                    </div>
                    <div class="pages-admod-box-2"> 
                        <label for="tags"><b>Title</b></label>
                        <asp:TextBox ID="txtTieuDeEn" runat="server" CssClass="input-1"></asp:TextBox> 
                                                                                              
                        <label for="tags">Tags</label>
                        <asp:TextBox ID="txtTuKhoaEn" runat="server" CssClass="input-1"></asp:TextBox>                                               
                    </div>            
                </div>                                                                                                                                                                                        
            </div>
            <!-- tab help -->  
            <div id="tabs-4" class="tab-1 help">
                <h2>Hướng dẫn phần đăng tin tức</h2>
                <p>
                Đọc kỹ hướng dẫn trước khi sử dụng
                <p>
                
                </p>
            </div>
           <!-- end tabs -->                        
        </div><!-- END "#tabs-wrapper-1" --> 
         
        <div class="submit-box">
            <input type="reset" name="reset" value="Nhập lại"/>
            <asp:Button ID="btnSave" runat="server" Text="Lưu" />
        </div>
                           
    </div><!-- END ".box-content" --> 
</div><!-- END ".box" -->